package com.yx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yx.entity.Order;
import com.yx.entity.OrderDetail;
import com.yx.vo.OrderParam;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * @Classname IOrderService
 * @Date 2021/07/20 19:07
 * @Author by yx
 * @Description TODO:
 */
public interface IOrderService extends IService<Order> {
    String createOrder(OrderParam orderParam, Integer id) throws ExecutionException, InterruptedException;

    Order getOrderByOid(String oid);

    void updateOrderStatus(String oid, Integer status);
}
